{% extends "base.html" %}
{% block pagetitle %}Create Request{% endblock %}
{% block content %}
<br>
<br>
<div class=art-box>
{% for addr in navigations %}
  <a href="{{ addr.0 }}">{{ addr.1 }}</a>&nbsp;>>&nbsp;
{% endfor %}
{{ pagename }}
</div>
<form class="art-form-left" action="/createrequest" method="post">
<input type="hidden" name="post_action" value="{{ post_action }}"></input>
<input type="hidden" name="qid" value="{{ req.key }}"></input>
<h3>{{ MSG_CR_ITEMNAME }}</h3>
  <input type="text" name="item_name" value="{{ req.item_name }}"> </input>{{ MSG_CR_ITEMNAME_HINT }}
<br><br>
<h3>{{ MSG_CR_LOCATION }}</h3>
  <input type="text" name="location" value="{{ req.location }}"></input>
<br><br>
<h3>{{ MSG_CR_CONTACT }}</h3>
  <input type="text" name="contact" value="{{ req.contact_info }}"></input>{{ MSG_CR_CONTACT_HINT }}
<br><br>
<h3>{{ MSG_CR_COST }}</h3>
  <input type="text" name="cost" value="{{ req.estimated_price }}"></input>{{ MSG_CMN_CURRENCY_UNIT }}
<br><br>
<h3>{{ MSG_CR_ITEMDESC }}</h3>
  <textarea rows=10 name="item_description">{{ req.item_description }}</textarea>
<br><br>
<h3>{{ MSG_CR_SOURCE }}</h3>
  <input type="text" name="source" value="{{ req.source }}"></input>
<br><br>
<input type="submit" value="{{ MSG_CR_SUBMIT }}"></input>
</form>
{% endblock %}
